<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    
</body>
<script src="../js/jquery.js"></script>
<script>
//  var data = [];
//         for (var i = 0; i < 9; i++) {
//             var d = data[i] = {};
//             var url = $('.s_goods_list li a>img').eq(i).attr('src');
//             var yaofeng = $('.s_goods_list li a>div>img').eq(i).attr('src');
//             var jiage = $('.s_goods_list li a>div>span').eq(i).text();
//             var month_tag = $('.s_goods_list li .goods_txt .tPrc>em').eq(i).text();
//             var promotionTag = $('.s_goods_list li .promotionTag>img').eq(i).attr('src');
//             var fenqi_price = $('.s_goods_list li .goods_txt .tPrc .fenqi_price').eq(i).text();
//             var s_price = $('.s_goods_list li .goods_txt .tPrc .s_price').eq(i).text();
//             var s_goods_name = $('.s_goods_list li .goods_txt .s_goods_name').eq(i).text();
//             var sale_tips = $('.s_goods_list li .goods_txt .goods_sale .sale_tips').eq(i).text();
//             var s_sale_num =  $('.s_goods_list li .goods_txt .goods_sale .s_sale_num').eq(i).text();
//             var s_shop =  $('.s_goods_list li .goods_txt .s_shop').eq(i).text();
//             var sale_tags = $('.s_goods_list li .goods_txt .sale_tags span').eq(i).text();
//             d.url = 'http:' + url;
//             d.yaofeng = yaofeng;
//             d.jiage = jiage;
//             d.promotionTag = promotionTag;
//             d.month_tag = month_tag;
//             d.fenqi_price = fenqi_price;
//             d.s_price = s_price;
//             d.s_goods_name = s_goods_name;
//             d.sale_tips = sale_tips;
//             d.s_sale_num = s_sale_num;
//             d.s_shop = s_shop;
//             d.sale_tags = sale_tags;
//         }
var data = [];
for(var i=0; i < $(".ovfs-item > div").length;i++){
   var d = data[i] = {};
   d.url = $('.ovfs-item>div>.product-img img').eq(i).attr('src')
    d.pic = $('.ovfs-item>div>.price').eq(i).text();
    d.cpic = $('.ovfs-item>div>.reference').eq(i).text();
    d.cpic1 = $('.ovfs-item>div>.reference > span').eq(i).text();
}

// document.write(da)
console.log($(".spell-group-content-item").length)

var data = [];
for(var i=0; i < $(".spell-group-content-item").length;i++){
   var d = data[i] = {};
   d.url = $(".spell-group-content-item >.item-left img").eq(i).attr('src')
    d.groupTitle = $('.spell-group-content-item >.item-right .group-title').eq(i).text();
    d.middle = $('.spell-group-content-item >.item-right .middle').eq(i).text();
    d.bottom = $('.spell-group-content-item >.item-right .bottom').eq(i).text();
    d.openGroup = $('.spell-group-content-item >.item-right .open-group').eq(i).text();
}
console.log(data)
JSON.stringify(data)

var data = [];
for(var i=0; i < $(".inner .inner-item").length;i++){
   var d = data[i] = {};
   d.rankImg = $(".rank-container .rank-content .inner .inner-item .rank-img[data-v-49e4861a]").eq(i).attr('src')
   d.rankImg2 = $(".rank-container .rank-content .inner .inner-item img[data-v-49e4861a]").eq(i).attr('src')
   d.text = $(".rank-container .rank-content .inner .inner-item .text[data-v-49e4861a]").eq(i).text()
}

console.log(data)
JSON.stringify(data)
</script>
</html>